package com.aaa.three.mapper;

import com.aaa.three.entity.AddDate;
import com.aaa.three.entity.DoctorList;
import com.aaa.three.entity.DoctorSchedule;
import com.aaa.three.entity.ScheduleVo;
import com.aaa.three.pojo.domain.AdminDept;
import com.aaa.three.pojo.domain.AdminInfo;
import com.aaa.three.pojo.domain.AdminOffice;
import com.aaa.three.pojo.query.DoctorQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScheduleMapper {
    AddDate getDate(String day);

    Integer addDate(String day);

    List<DoctorSchedule> listAll(DoctorQuery d);

    Integer listSum(DoctorQuery d);

    List<DoctorSchedule> listAddSchedule(ScheduleVo  scheduleVo);

    Integer addSchedule(ScheduleVo scheduleVo);

    List<ScheduleVo> listDelete(ScheduleVo scheduleVo);

    Integer deleteSchedule(ScheduleVo scheduleVo);

    DoctorList getUpdateSchedule(ScheduleVo scheduleVo);

    ScheduleVo getNumber(ScheduleVo scheduleVo);

    Integer updateSchedule(ScheduleVo schedule);

}
